import request from '@/plugins/request';
// 输液大厅
// 排队列表
export function queueList (data) {
    return request({
        url: '/v1/infusion/queue/list',
        method: 'get',
        params: data
    });
}
// 输液信息
export function queueInfo (data) {
    return request({
        url: '/v1/infusion/queue/info',
        method: 'get',
        params: data
    });
}
// 输液提交
export function queueInfusion (data) {
    return request({
        url: '/v1/infusion/queue/infusion',
        method: 'post',
        data
    });
}
// 排队操作的患者药品
export function patientdrugList (data) {
    return request({
        url: '/v1/infusion/queue/patient-drug-list',
        method: 'get',
        params: data
    });
}
// 排队提交
export function queueCreate (data) {
    return request({
        url: '/v1/infusion/queue/create',
        method: 'post',
        data
    });
}
// 叫号
export function queueCall (data) {
    return request({
        url: '/v1/infusion/queue/call',
        method: 'post',
        data
    });
}
// 患者列表
export function patientList (data) {
    return request({
        url: '/v1/infusion/treatment/patient-list',
        method: 'get',
        params: data
    });
}
// 新增配置患者项目
export function drugSurplus (data) {
    return request({
        url: '/v1/infusion/treatment/create-patient-drug-surplus',
        method: 'post',
        data
    });
}
// 患者输液记录列表
export function drugrecordList (data) {
    return request({
        url: '/v1/infusion/treatment/drug-record-list',
        method: 'get',
        params: data
    });
}
// 删除患者药品 /v1/infusion/treatment/delete-patient-drug-surplus
export function deletedrugSurplus (data) {
    return request({
        url: '/v1/infusion/treatment/delete-patient-drug-surplus',
        method: 'post',
        data
    });
}
// 退费【患者药品剩余数】
export function treatmentdrugSurplus (data) {
    return request({
        url: '/v1/infusion/treatment/refund-patient-drug-surplus',
        method: 'post',
        data
    });
}
// 新增【患者药品剩余数】
export function patientSurplus (data) {
    return request({
        url: '/v1/infusion/treatment/add-patient-drug-surplus',
        method: 'post',
        data
    });
}
// 患者药品下拉筛选
export function surplusSelect (data) {
    return request({
        url: '/v1/infusion/treatment/drug-surplus-select',
        method: 'get',
        params: data
    });
}
// 药品下拉列表
export function getdrugList (data) {
    return request({
        url: '/v1/infusion/treatment/get-drug-list',
        method: 'get',
        params: data
    });
}
// 治疗-剩余数card
export function cardDrug (data) {
    return request({
        url: '/v1/infusion/treatment/patient-drug-surplus',
        method: 'get',
        params: data
    });
}
// 更新打印次数
export function updatePrint (data) {
    return request({
        url: '/v1/infusion/treatment/update-print-times',
        method: 'post',
        data
    });
}
// 获取操作类型
export function infusiontreatmentrecordtype (data) {
    return request({
        url: 'v1/infusion/treatment/record-type',
        method: 'get',
        params: data
    });
}
// 撤销排队
export function queueCancel (data) {
    return request({
        url: '/v1/infusion/queue/cancel',
        method: 'post',
        data
    });
}
